package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {
    Page<NursingProjectVo> selectByPage(String name, Integer status);

    int save(NursingProject project);

    int updateById(NursingProject nursingProject);

    NursingProjectVo getByName(String name);

    NursingProject getById(Long id);

    int removeById(Long id);

    List<NursingProject> getAll();

    int updateStatus(Long id, Integer status);

    int getPlanById(Long id);

    NursingProject getByName1(String name, Long id);
}
